home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1998 #1 / Amiga Plus 1998 #1.iso / demo-versionen / haage&partner / warpup-warpos / lvo / powerpc_lib.i
Text File  |  1997-09-24  |  4KB  |  120 lines

  1. **
  2. **      $VER: powerpc_lib.i 12.0 (18.9.97)
  3. **
  4. **      WarpOS Release 1.0
  5. **
  6. **      '(C) Copyright 1997 Haage & Partner Computer GmbH'
  7. **      All Rights Reserved
  8. **
  9. **      Library offsets for powerpc.library V12
  10. **
  11.  
  12. ****  68K Library offsets
  13.  
  14. _LVORunPPC              =       -30
  15. _LVOWaitForPPC          =       -36
  16. _LVOGetCPU              =       -42
  17. _LVOPowerDebugMode      =       -48
  18. _LVOAllocVec32          =       -54
  19. _LVOFreeVec32           =       -60
  20. _LVOSPrintF68K          =       -66
  21. _LVOAllocXMsg           =       -72
  22. _LVOFreeXMsg            =       -78
  23. _LVOPutXMsg             =       -84
  24.  
  25. ****  PPC Library offsets
  26.  
  27. _LVORun68K              =       -300
  28. _LVOWaitFor68K          =       -306
  29. _LVOSPrintF             =       -312
  30. _LVORun68KLowLevel      =       -318    ;PRIVATE!
  31. _LVOAllocVecPPC         =       -324
  32. _LVOFreeVecPPC          =       -330
  33. _LVOCreateTaskPPC       =       -336
  34. _LVODeleteTaskPPC       =       -342
  35. _LVOFindTaskPPC         =       -348
  36. _LVOInitSemaphorePPC    =       -354
  37. _LVOFreeSemaphorePPC    =       -360
  38. _LVOAddSemaphorePPC     =       -366
  39. _LVORemSemaphorePPC     =       -372
  40. _LVOObtainSemaphorePPC  =       -378
  41. _LVOAttemptSemaphorePPC =       -384
  42. _LVOReleaseSemaphorePPC =       -390
  43. _LVOFindSemaphorePPC    =       -396
  44. _LVOInsertPPC           =       -402
  45. _LVOAddHeadPPC          =       -408
  46. _LVOAddTailPPC          =       -414
  47. _LVORemovePPC           =       -420
  48. _LVORemHeadPPC          =       -426
  49. _LVORemTailPPC          =       -432
  50. _LVOEnqueuePPC          =       -438
  51. _LVOFindNamePPC         =       -444
  52. _LVOFindTagItemPPC      =       -450
  53. _LVOGetTagDataPPC       =       -456
  54. _LVONextTagItemPPC      =       -462
  55. _LVOAllocSignalPPC      =       -468
  56. _LVOFreeSignalPPC       =       -474
  57. _LVOSetSignalPPC        =       -480
  58. _LVOSignalPPC           =       -486
  59. _LVOWaitPPC             =       -492
  60. _LVOSetTaskPriPPC       =       -498
  61. _LVOSignal68K           =       -504
  62. _LVOSetCache            =       -510
  63. _LVOSetExcHandler       =       -516
  64. _LVORemExcHandler       =       -522
  65. _LVOSuper               =       -528
  66. _LVOUser                =       -534
  67. _LVOSetHardware         =       -540
  68. _LVOModifyFPExc         =       -546
  69. _LVOWaitTime            =       -552
  70. _LVOChangeStack         =       -558    ;PRIVATE!
  71. _LVOLockTaskList        =       -564
  72. _LVOUnLockTaskList      =       -570
  73. _LVOSetExcMMU           =       -576
  74. _LVOClearExcMMU         =       -582
  75. _LVOChangeMMU           =       -588
  76. _LVOGetInfo             =       -594
  77. _LVOCreateMsgPortPPC    =       -600
  78. _LVODeleteMsgPortPPC    =       -606
  79. _LVOAddPortPPC          =       -612
  80. _LVORemPortPPC          =       -618
  81. _LVOFindPortPPC         =       -624
  82. _LVOWaitPortPPC         =       -630
  83. _LVOPutMsgPPC           =       -636
  84. _LVOGetMsgPPC           =       -642
  85. _LVOReplyMsgPPC         =       -648
  86. _LVOFreeAllMem          =       -654
  87. _LVOCopyMemPPC          =       -660
  88. _LVOAllocXMsgPPC        =       -666
  89. _LVOFreeXMsgPPC         =       -672
  90. _LVOPutXMsgPPC          =       -678
  91. _LVOGetSysTimePPC       =       -684
  92. _LVOAddTimePPC          =       -690
  93. _LVOSubTimePPC          =       -696
  94. _LVOCmpTimePPC          =       -702
  95.                 IFND    _POWERMODE
  96.  
  97. CALLPOWERPC     MACRO
  98.                 move.l  _PowerPCBase,a6
  99.                 jsr     _LVO\1(a6)
  100.                 ENDM
  101.  
  102.                 ELSEIF
  103.  
  104.                 IFND    POWERPC_PPCMACROS_I
  105.                 INCLUDE powerpc/ppcmacros.i
  106.                 ENDC
  107.  
  108. CALLPOWERPC     MACRO
  109.                 lw      r3,_PowerPCBase
  110.                 lwz     r0,_LVO\1+2(r3)
  111.                 mtlr    r0
  112.                 blrl
  113.                 ENDM
  114.  
  115.                 ENDC
  116.  
  117. POWERPCNAME     MACRO
  118.                 dc.b    'powerpc.library',0
  119.                 ENDM
  120.